#!/bin/bash
docker run -d \
--name rmqbroker \
-p 10912:10912 -p 10911:10911 -p 10909:10909 \
-e MAX_HEAP_SIZE=512m -e HEAP_NEWSIZE=256m \
-v ./broker.conf:/home/rocketmq/rocketmq-4.9.4/conf/broker.conf \
apache/rocketmq:4.9.4 sh mqbroker -n 192.168.50.7:9876 -c ../conf/broker.conf
